package iface

type SingletonBeanRegistry interface {
	GetSingleton(beanName string) any
	GetSingletonOrCreate(beanName string, getObject func() (error, any)) any
	RegisterSingleton(beanName string, singletonBean any)
	IsSingletonCurrentlyInCreation(beanName string) bool
	AddEarlySingleton(beanName string, earlySingleton any) any
	ContainsSingleton(beanName string) bool
	DestroySingletons()
}
